
'use strict';
var _mm=require('common/util/mm.js');





var _product={
	//	检查用户名是否占用 
	getProductList:function(listParam ,resolve, reject) {
		_mm.request({
			url    :_mm.getServerUrl('/product/list.do'),
		
			data:listParam,
			success:resolve,
			error  :reject,
		})
	},//	检查用户名是否占用 
	getProductDetails:function(productdata ,resolve, reject) {
		_mm.request({
			url    :_mm.getServerUrl('/product/detail.do'),
		
			data:productdata,
			success:resolve,
			error  :reject,
		})
	},
	

}
module.exports =_product;

 




